Next: Buffer Parameters, Previous: Size Parameters, Up: Window Frame Parameters [Contents][Index]
These frame parameters enable or disable various parts of the frame, or control their sizes.
border-widthThe width in pixels of the frame’s border.
internal-border-widthThe distance in pixels between text (or fringe) and the frame’s border.
vertical-scroll-barsWhether the frame has scroll bars for vertical scrolling,
and which side of the frame they should be on. The possible
values are left, right, and
nil for no scroll bars.
horizontal-scroll-barsWhether the frame has scroll bars for horizontal scrolling
(t and bottom mean yes,
nil means no).
scroll-bar-widthThe width of vertical scroll bars, in pixels, or
nil meaning to use the default
width.
scroll-bar-heightThe height of horizontal scroll bars, in pixels, or
nil meaning to use the default
height.
left-fringeright-fringeThe default width of the left and right fringes of windows in this frame (see Fringes). If either of these is zero, that effectively removes the corresponding fringe.
When you use frame-parameter to query the
value of either of these two frame parameters, the return
value is always an integer. When using
set-frame-parameter, passing a nil
value imposes an actual default value of 8
pixels.
right-divider-widthThe width (thickness) reserved for the right divider (see Window Dividers) of any window on the frame, in pixels. A value of zero means to not draw right dividers.
bottom-divider-widthThe width (thickness) reserved for the bottom divider (see Window Dividers) of any window on the frame, in pixels. A value of zero means to not draw bottom dividers.
menu-bar-linesThe number of lines to allocate at the top of the frame for a menu bar. The default is 1 if Menu Bar mode is enabled, and 0 otherwise. See Menu Bars in The GNU Emacs Manual.
tool-bar-linesThe number of lines to use for the tool bar. The default is 1 if Tool Bar mode is enabled, and 0 otherwise. See Tool Bars in The GNU Emacs Manual.
tool-bar-positionThe position of the tool bar. Currently only for the GTK
tool bar. Value can be one of top,
bottom left, right.
The default is top.
line-spacingAdditional space to leave below each text line, in pixels (a positive integer). See Line Height, for more information.
Next: Buffer Parameters, Previous: Size Parameters, Up: Window Frame Parameters [Contents][Index]